<template>
	<div class="contents">
		<van-nav-bar
		  title="订单详情"
		  left-text="返回"
		  left-arrow
		  @click-left="onClickLeft"
		/>
		<div class="content">
			<van-card
				num="2"
				tag="标签"
				price="2.00"
				desc="描述信息"  
				title="商品标题"
				:thumb="imageURL"
				origin-price="10.00"
				class="pay-mt"
			>
				<div slot="footer">
<!-- 					<van-button size="small" class="btnbg1 btncolor">延长收货</van-button> -->
					<van-button size="small" class="btnbg2 btncolor">发货中</van-button>
				</div>
			</van-card>
			<van-cell-group>
				<van-cell title="订单号" value="123456789012345678" />
				<van-cell title="创建时间" value="2018/12/10 17:13" />
				<van-cell title="支付方式" value="支付宝" />
			</van-cell-group>
		</div>
	</div>
</template>

<script>
import Headerc from './Headerc'
import Vue from 'vue'
import { Row, Col, Cell, CellGroup, NavBar, Card, Button } from 'vant'
Vue.use(Row).use(Col).use(Cell).use(CellGroup).use(NavBar).use(Card).use(Button)
export default {
	data () {
		return {
			imageURL: require('../assets/img/build.png')
		}
	},
	methods: {
		onClickLeft () {
			this.$router.go(-1)
		}
	},
	components: {
		Headerc
	}
}
</script>

<style lang="scss" scoped="scoped">
@import '@/lib/reset.scss';
.pay-mt {
	margin-top: .1rem;
	height: 1.05rem!important;
}
.btnbg1 {
	background: #ff5b5bde;
}
.btnbg2 {
	background: #f44;
}
.btncolor {
	color: #fff;
}
</style>
